﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Encryption
{
    interface IReverseEncryption
    {
        /// <summary>
        /// 可逆加密
        /// </summary>
        /// <param name="origin">原始的字符串</param>
        /// <param name="type">加密类型</param>
        /// <returns>加密后的字符串</returns>
        string ReverseEncryptin(string origin,string type);

        /// <summary>
        /// 可逆解密
        /// </summary>
        /// <param name="password">密文</param>
        /// <param name="type">解密类型</param>
        /// <returns>解密后的字符串</returns>
        string ReverseDecryption(string password,string type);

      
    }
}
